package com.xinyi.share.weixin.message.receive;
/**
 * 
 * @description 图片消息
 * @author wangchuan
 * @date 2014年7月4日下午10:06:22
 * @version 1.0
 */
public class ImageReceiveMessage extends ReceiveMessage {
	/**
	 * 图片地址
	 */
	private String picurl;
	/**
	 * 媒体ID
	 */
	private String mediaid;
	
	public ImageReceiveMessage(){
	}
	
	public ImageReceiveMessage(String msgId, String fromUserName, String toUserName, String picurl,String mediaid, long createTime){
		super(msgId, image, fromUserName, toUserName, createTime);
		this.picurl = picurl;
		this.mediaid = mediaid;
	}
	
	public String getPicurl() {
		return picurl;
	}
	public void setPicurl(String picurl) {
		this.picurl = picurl;
	}
	public String getMediaid() {
		return mediaid;
	}
	public void setMediaid(String mediaid) {
		this.mediaid = mediaid;
	}

	@Override
	public String toString() {
		return "ImageReceiveMessage [picurl=" + picurl + ", mediaid=" + mediaid + ", getMsgId()=" + getMsgId() + ", getMsgType()=" + getMsgType() + ", getFromUserName()=" + getFromUserName()
				+ ", getToUserName()=" + getToUserName() + ", getCreateTime()=" + getCreateTime() + "]";
	}

}
